//
//  InvestHeadCell.m
//  xindailianmeng
//
//  Created by xu on 17/3/18.
//  Copyright © 2017年 xindailianmeng.cn. All rights reserved.
//

#import "InvestHeadCell.h"

@interface InvestHeadCell ()

@property (nonatomic, strong)UILabel            *titeleLbale;
@property (nonatomic, strong)UILabel            *conteLabele;

@end

@implementation InvestHeadCell

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self buildLayout];
    }
    return self;
}



- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)buildLayout{
    
    
    self.titeleLbale = [[UILabel alloc]initWithFrame:CGRectMake(15, 17, kScreenW - 15, 15)];
    self.titeleLbale.font = [UIFont systemFontOfSize:15];
    self.titeleLbale.textColor = [LCCommon getColor:@"333333"];
    self.titeleLbale.text = @"投资人/时间";
    [self.contentView addSubview:self.titeleLbale];
    
    
    self.conteLabele = [[UILabel alloc]initWithFrame:CGRectMake(0, 17, kScreenW - 15, 15)];
    self.conteLabele.font = [UIFont systemFontOfSize:15];
    self.conteLabele.textColor = [LCCommon getColor:@"333333"];
    self.conteLabele.text = @"金额(元)";
    self.conteLabele.textAlignment = NSTextAlignmentRight;
    [self.contentView addSubview:self.conteLabele];
    
    UIView *line = [[UIView alloc]initWithFrame:CGRectMake(15, 44 - 1/[UIScreen mainScreen].scale, kScreenW - 15, 1/[UIScreen mainScreen].scale)];
    line.backgroundColor = [LCCommon getColor:@"cccccc"];
    [self.contentView addSubview:line];
    
}


- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
